const baseUrl = "http://gujun.free.idcfengye.com"
/**
 * 首页 ------开始
 */
//获取推荐列表
export const recommendedList = (params) => (
	uni.request({
		url: `${baseUrl}/`,
		header: {
			"content-type": "application/json;charset=UTF-8"
		},
		data: params
	})
)
//获取全案列表
export const wholeCaseList = (params) => (
	uni.request({
		url: `${baseUrl}/fullService`,
		header: {
			"content-type": "application/json;charset=UTF-8"
		},
		data: params
	})
)
//获取个案列表
export const personalCaseList = (params) => (
	uni.request({
		url: `${baseUrl}/plan`,
		header: {
			"content-type": "application/json;charset=UTF-8"
		},
		data: params
	})
)
//获取专题列表
export const projectList = (params) => (
	uni.request({
		url: `${baseUrl}/project`,
		header: {
			"content-type": "application/json;charset=UTF-8"
		},
		data: params
	})
)
//获取调研列表
export const researchList = (params) => (
	uni.request({
		url: `${baseUrl}/research`,
		header: {
			"content-type": "application/json;charset=UTF-8"
		},
		data: params
	})
)
//获取文章列表
export const theArticleList = (params) => (
	uni.request({
		url: `${baseUrl}/article`,
		header: {
			"content-type": "application/json;charset=UTF-8"
		},
		data: params
	})
)
/**
 * 首页 ------结束
 */

/**
 * 分类 ------开始
 */
//获取分类列表
export const sortList = (params) => (
	uni.request({
		url: `${baseUrl}/classify`,
		header: {
			"content-type": "application/json;charset=UTF-8"
		},
		data: params
	})
)
/**
 * 分类 ------结束
 */